Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Can't attack allies? [SOLVED]
Can't attack allies? [SOLVED]
This topic is locked. You can no longer write replies here.
Sep 2 2008, 2:52 am
By: FatalException  

Sep 2 2008, 2:52 am FatalException Post #1



So, my map is going to be kind of a shooter (think sniper maps) where the players are allied with the enemy computer. The problem is, I can't get Raynor (marine) to shoot an ally. The trigger for allying to the enemy is as follows:
Trigger
Players

  • Force 1
  • Conditions

  • Force 1 has at least 1 opponents remaining in the game.
  • Actions

  • Set Force 1 to Ally.
  • Set Force 2 to Ally.
  • Set Force 3 to Ally.
  • Set Force 4 to Ally.
  • Preserve trigger.

  • When I try to attack, he'll get through the shooting animation, but no shots hit. Who knows what's up?

    Post has been edited 1 time(s), last time on Sep 7 2008, 4:20 am by FatalException.



    None.

    Sep 2 2008, 2:57 am Kaias Post #2



    When a player is constantly allied like that the shots (almost all everytime) don't hit, it has the same effect as a unit trying to hit a unit that's being constantly moved where he can't go. Try allying less frequently.



    None.

    Sep 2 2008, 3:02 am FatalException Post #3



    I know, the condition should only re-ally when they set someone to enemy, but I'll try delaying the preserve anyway... It even did this when it only allied ONCE.

    Which is why delaying the preserve is just about the weirdest working solution ever. :dontgetit: Thanks, I guess? LOCK PL0X.



    None.

    Sep 2 2008, 3:05 am Moose Post #4

    Armor: 90.50%

    It would seem to me that the trigger is running too often.
    Try having the trigger set the alliance status whenever FOES commands 1 whatever the target is to force locks. (the condition becomes true because the person unallied.)

    EDIT: This might be helpful for using the opponents condition:
    Quote
    This condition evaluates how many of the players are opponents of the trigger owner. By default, all of the other players are considered opponents. A player does not count as an opponent if either of the following conditions are met:

    · The player has been defeated. This condition only counts players that are still in the game.
    · The player is set for allied victory with the trigger owner, AND the player is set for allied victory with all other players set for allied victory with the trigger owner. (The enemy of an ally is still an enemy.)

    As a result, if opponents equals zero, all of remaining players are set for allied victory with each other. Use this condition with the Victory action to create a scenario that allows for allied victory.

    It would appear that you have to either use Allied Victory or Foes commanding conditions. Allying without allied victory is still considered an opponent, which causes the trigger to run.

    Post has been edited 1 time(s), last time on Sep 2 2008, 3:12 am by Mini Moose 2707.




    Sep 2 2008, 3:05 am Kaias Post #5



    Quote from FatalException
    I know, the condition should only re-ally when they set someone to enemy, but I'll try delaying the preserve...

    It even did this when it only allied ONCE.
    That wouldn't be caused by allying then and therefore be likely caused by constant moving, maybe you're just mistaken?.



    None.

    Sep 7 2008, 4:20 am FatalException Post #6



    This problem has been solved since Sept. 1 at 8:02 PM.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [2026-9-25. : 2:22 pm]
    Oh_Man -- https://youtu.be/Lfo4C0xzU04
    [2026-9-25. : 12:00 am]
    Oh_Man -- he hasnt won a single game so far this is hilarious
    [2026-9-24. : 11:41 pm]
    Oh_Man -- new arty username Rage Against The Machine
    [2026-9-24. : 10:14 pm]
    Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
    [2026-9-24. : 8:12 pm]
    Ultraviolet -- do you even lift bro?
    [2026-9-23. : 5:21 pm]
    NudeRaider -- Oh_Man
    Oh_Man shouted: NudeRaider yeh thts straight up cheating
    the mutas yes, the wraiths probably not. Have you even watched the video? ;)
    [2026-9-23. : 12:56 pm]
    Oh_Man -- NudeRaider
    NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
    yeh thts straight up cheating
    [2026-9-23. : 12:24 pm]
    Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
    [2026-9-23. : 10:09 am]
    NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
    Please log in to shout.


    Members Online: Dem0n